package com.aaa.vegetablemarketexpress.util;

import lombok.*;

/**
 * @FileName: ResultStatus
 * @Description:
 * @Author: 张钰哲
 * @CreateTime: 2025/8/22 9:57
 * @Version: 1.0.0
 */
@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum ResultStatus {
    SUCCESS(200,"执行成功"),
    FAILED(500,"执行失败"),
    PARAM_ISNULL(50001,"参数为空"),
    DATA_ROLENAME_EXIST(50002,"角色名称已存在"),
    DATA_ROLEKEY_EXIST(50003,"角色权限字符串已存在"),
    PARAM_INVALID(50004,""),
    DATA_NOT_EXIST(50005,"角色不存在"),
    DATA_USERNAME_EXIST(50006,"用户名已存在"),
    FILE_EMPTY(4001, "上传文件不能为空"),
    FILE_TOO_LARGE(4002, "文件大小超过限制"),
    FILE_TYPE_ERROR(4003, "文件格式不支持"),
    FILE_UPLOAD_FAIL(4004, "文件上传失败"),
    USER_NOT_LOGIN(50007,""),
    DATA_INVALID(50008,"");
    private Integer statusCode;
    private String statusMsg;
}
